home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / BARNET / ARMLINUX / MAIL / 9710 / text0016.txt < prev    next >
Encoding:
Text File  |  1997-11-30  |  1.9 KB  |  46 lines

  1. Hi,
  2.  
  3. I noticed the arrival of losetup and downloaded it right away (I just
  4. had to try). I installed it, and tried that little example mentioned in
  5. the man page (creating a 100K ext2 image and mounting it). It worked
  6. perfectly. :-)
  7.  
  8. Then I tried copying a 1.44Mb dos-floppy image to the HD and tried
  9. loopmounting that. Again it worked perfectly.
  10.  
  11. The I tried mounting my ADFS disk, and then loopmounted the root-rpc
  12. disk I had located in $.ARMLinux. This too worked perfectly.
  13.  
  14. Now I had to try the real test. I loop-mounted my dos-image file located
  15. in $.PC486.drive_c. It failed. Doh!
  16.  
  17. The mount phase failed. The losetup /dev/loop0 /mnt/adfs/PC486.drive_c
  18. did not complain. Mount complains about not being a msdos filesystem or
  19. a bad superblock (I think it was superblock).
  20.  
  21. I tried creating other dos-image files, formatting them in various ways,
  22. but they all failed.
  23.  
  24. Then I was looking into a way to create a dos-image file on my ext2 disk
  25. but I could not. mkdosfs complains about not being able to determine the
  26. geometry of the image file. I understand that, but how do I tell mkdosfs
  27. that?
  28.  
  29. I guess that the image-file create by !PCConfig isn't exactly as mount
  30. -t msdos/vfat wants it. Can I correct that?
  31.  
  32. Bernhard
  33.  
  34. -- 
  35. ------------------------------------------------------------------------------
  36.  Bernhard Mogens Ege, M.Sc.E.E.  |           | E-mail:      bme@vision.auc.dk
  37.  Laboratory of Image Analysis    |      /(   | Direct call:   +45 96 35 87 85
  38.  Institute of Electronic Systems |   ._//(   | Switchboard:   +45 96 35 80 80
  39.  Aalborg University              |  /  |  \  | Fax:           +45 98 15 40 08
  40.  Frederik Bajersvej 7, D1-205    |  A  A  U  | Homepage:
  41.  DK-9220 Aalborg East            |           | http://www.vision.auc.dk/~bme
  42. ------------------------------------------------------------------------------
  43.   Home: H.C.Andersens Vej 26 st.mf., DK-9000 Aalborg, Phone: +45 20 42 99 26
  44. ------------------------------------------------------------------------------
  45.  
  46.